<% i = 0
while i < @rows	
%>
	<tr>
		<td>
			<%= select("project", "id", @projects.all.collect {|p| [ p.name, p.id ] }, {selected: @ptu[i].project_id}, { :class => "projectclass" }) %>
		</td>
		<td>
			<%= select("rolename", "id", Rolename.all.collect {|p| [ p.name, p.id ] }, { selected: @ptu[i].rolename_id}, {:class => "roleclass" }) %>
		</td>
		<td>
			<%= select("percentage", "id", Percentage.all.collect {|p| [ p.percentage, p.id ] }, { selected: @ptu[i].percentage_id}, {:class => "percentclass"}) %>
		</td>	
		<td>
			<%= image_tag("layout/Erase.png", :id => "row_"+i.to_s, :alt => "Zuordnung l&ouml;schen", :class => "delete_assignment_icon") %>
		</td>
	</tr>
<%
i = i + 1 
end %>
